package com.xbongbong.pro.developer.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.department.pojo.DepartmentUserPojo;
import com.xbongbong.pro.form.pojo.FormPojo;
import com.xbongbong.pro.form.pojo.PaasFormPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/03/03 17:24
 */
@Setter
@Getter
@ToString
public class DeveloperAddDTO extends BaseDTO {

    private static final long serialVersionUID = -8414660493847655588L;
    @Valid
    private DepartmentUserPojo user;

    @NotEmpty(message = "{dto.msg.developerAdd.formList.NotEmpty}")
    private List<FormPojo> formList;

    private String memo;
}
